package com.niiwoo.civet.trade.dto.response.myloan;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by yuanguang on 2017/12/21.
 */
@Getter
@Setter
public class ProjectrePaymentResponseDTO implements Serializable {
    private static final long serialVersionUID = -4371935403865524285L;
    //主键
    private Long id;
    //项目ID
    private Long projectId;
    //借款用户ID
    private String borrowerUserId;
    //当期期数
    private Integer currentPeriod;
    //总期数
    private Integer totalPeriod;
    //应还款日期
    private Date refundDate;
    //已还利息
    private BigDecimal refundedInterest;
    //已还本金
    private BigDecimal refundedCapital;
    //已还平台管理费
    private BigDecimal refundedManagementFee;
    //已还罚息
    private BigDecimal refundedPenaltyFee;
    //已还担保服务费
    private BigDecimal refundedGuaranteeFee;
    //本金
    private BigDecimal capital;
    //利息
    private BigDecimal interest;
    //平台管理费
    private BigDecimal managementFee;
    //担保服务费
    private BigDecimal guaranteeFee;
    //罚息（冗余，仅用于页面展示,每天更新）
    private BigDecimal penaltyFee;
    //还款状态（1未还款，2已正常还款，3已逾期还款, 4提前结清还款）
    private Byte refundStatus;
    //结清时间
    private Date overTime;
    //应还时间年月，如201709
    private String yearMouth;
    //计划生成来源：0放款生成，1坏账生成
    private Byte generateSource;
    //0未删除，1已删除
    private Byte delFlag;
    //创建 时间
    private Date createTime;
    //更新时间
    private Date updateTime;
    //冲销期数
    private Integer period;
}
